package net.xdclass.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class ProductOrderVO {

    private Long id;

    @ApiModelProperty(value = "订单唯一标识")
    private String outTradeNo;

    @ApiModelProperty(value = "NEW 未支付订单,PAY已经支付订单,CANCEL超时取消订单")
    private String state;

    @ApiModelProperty(value = "订单生成时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "订单总金额")
    private BigDecimal totalAmount;

    @ApiModelProperty(value = "订单实际支付价格")
    private BigDecimal payAmount;

    @ApiModelProperty(value = "支付类型，微信-银行-支付宝")
    private String payType;

    @ApiModelProperty(value = "昵称")
    private String nickname;

    @ApiModelProperty(value = "头像")
    private String headImg;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "0表示未删除，1表示已经删除")
    private Integer del;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "订单类型 DAILY普通单，PROMOTION促销订单")
    private String orderType;

    @ApiModelProperty(value = "收货地址 json存储")
    private String receiverAddress;

    @ApiModelProperty(value = "订单项")
    private List<OrderItemVO> orderItemVOList;
}
